#include <iostream>
#include <map>

using namespace std;

int main(int argc, char **argv)
{
	map<char, int> ch = {{'x', 1}, {'a', 2}};
   /* string str;*/
	//int length = 0;
	//int i = 0;
////	pair< map<char, int>::iterator, bool> Insert;
	//cin >> str;
	//length = str.length();
	//for(; i < length; ++i)
	//{
////		Insert = ch.insert(pair<char, int>(str[i], 1));
////		if(Insert.second == false)
			//++ch[str[i]];
	/*}*/
    auto fit = ch.find('x');
    cout<<fit->second<<endl;
	map<char, int>::iterator it = ch.begin();
	for(; it != ch.end(); ++it)
	{
		cout<< it->first << ":" << it->second<<endl;
	}

	return 0;
}
